package com.hunttown.mes.rpc.api;

import com.hunttown.common.domain.Page;
import com.hunttown.mes.rpc.domain.MesSaleOrderDetailDTO;
import com.hunttown.mes.rpc.domain.query.MesSaleOrderDetailDTOQuery;

/**
 * created by wangjunfu on 2022-03-30 15:35:58
 */
public interface MesSaleOrderDetailRpcService {

    MesSaleOrderDetailDTO insert(MesSaleOrderDetailDTO mesSaleOrderDetailDTO);

    Boolean updateInfoById(MesSaleOrderDetailDTO mesSaleOrderDetailDTO);

    Boolean updateInfoByQuery(MesSaleOrderDetailDTOQuery mesSaleOrderDetailDTOQuery);

    MesSaleOrderDetailDTO selectById(Integer id);

    MesSaleOrderDetailDTO selectObjByQuery(MesSaleOrderDetailDTOQuery mesSaleOrderDetailDTOQuery);

    Page<MesSaleOrderDetailDTO> getListForPage(MesSaleOrderDetailDTOQuery mesSaleOrderDetailDTOQuery);

    Boolean deleteById(Integer id);

    Long getProductProduceCount(Integer productId);
}